package com.ruoyi.pointRecord.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.pointRecord.domain.PointsExchangeRecord;

public interface IProductReturnDao extends IService<PointsExchangeRecord> {
    default PointsExchangeRecord getMapper(){return (PointsExchangeRecord) getMapper();}

    /**
     *
     * @param record
     * @param newStatus
     * @param pointsType
     * @param failMessage
     */
    void processExchangeReversal(PointsExchangeRecord record, Long newStatus, Long pointsType, String failMessage);
}
